home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / Windows / System32 / HTMLRE90.DLL / HTML / 11508 < prev    next >
Encoding:
Text File  |  2002-07-05  |  2.8 KB  |  101 lines

  1. <HTML>
  2. <HEAD>
  3. <link rel="stylesheet" type="text/css" href="%1css/default.css">
  4. </HEAD>
  5.  
  6. <BODY>
  7. <!-- message -->
  8. <CENTER>
  9. <b>%8</b>
  10. </CENTER>
  11.  
  12. <span class="headerTitle">Properties</span>
  13.  
  14. <script language="Javascript">
  15. //LOCALIZATION STRINGS
  16. var _errEmptyDir = "The value for the root directory cannot be empty.";
  17. var _errMaxIdleTime = "The value for the maximum idle time must be an unsigned number.";
  18. var _strApply = "The server will be restarted if you continue.  This operation might take a while.  Continue?";
  19. </script>
  20.  
  21. <SCRIPT LANGUAGE="JavaScript" SRC="%2js/FormChek.js"></SCRIPT>
  22.  
  23. <DIV ID="tooltip" STYLE="position:absolute;visibility:hidden;z-index:99;"></DIV>
  24.  
  25. <SCRIPT language="Javascript" SRC="%6js/helps.js"></SCRIPT>
  26. <SCRIPT language="Javascript" SRC="%7js/tips.js"></SCRIPT>
  27.  
  28. <SCRIPT language=JavaScript>
  29. function onApply()
  30. {
  31.     if(confirm(_strApply))
  32.     {
  33.         document.adminForm.submitType.value = "restart";
  34.         onOK();
  35.     }
  36. }
  37.  
  38. function onOK()
  39. {
  40.     // get the data
  41.     var rootdir = document.adminForm.rootdir.value;
  42.     var maxidletime = document.adminForm.maxidletime.value;
  43.  
  44.     // validate data
  45.     if(isEmpty(rootdir))
  46.     {
  47.         document.adminForm.rootdir.focus();
  48.         alert(_errEmptyDir);
  49.         return;
  50.     }
  51.     if(!isNonnegativeInteger(maxidletime))
  52.     {
  53.         document.adminForm.maxidletime.focus();
  54.         alert(_errMaxIdleTime);
  55.         return;
  56.     }
  57.  
  58.     // submit the data
  59.     document.forms['adminForm'].submit();
  60. }
  61. </SCRIPT>
  62.  
  63. <FORM action="%3" method="post" name="adminForm" target="_self">
  64.  
  65. <TABLE width=90% cellpadding=4 cellspacing=4>
  66. <TR>
  67. <TD class="list" align=left>Root Directory</TD>
  68. <TD class="list" align=left><INPUT type=text size="60" name="rootdir" value="%4" tabindex="1"></TD>
  69. </TR>
  70. <TR>
  71. <TD class="list" align=left>Maximum Idle Time</TD>
  72. <TD class="list" align=left><INPUT type=text size="10" name="maxidletime" value="%5" tabindex="2"> minutes</TD>
  73. </TR>
  74.  
  75. <TR><TD colspan=2> </TD></TR>
  76.  
  77. <TR>
  78. <TD colspan=2 align=right>
  79. <table border=0 cellpadding=0>
  80. <tr valign=center>
  81. <td class="clsButton" align=middle nowrap><div class="clsButton">
  82. <a href="javascript:onApply();" onMouseOver="St(89);window.status='';return true;" onMouseOut="Ht()">Apply</a></div></td>
  83.  
  84. <td class="clsButton" align=middle nowrap><div class="clsButton">
  85. <a href="javascript:onOK();" onMouseOver="St(88);window.status='';return true;" onMouseOut="Ht()">Update</a></div></td>
  86.  
  87. <td class="clsButton" align=middle nowrap><div class="clsButton">
  88. <a href="javascript:document.forms['adminForm'].reset();" onMouseOver="St(18);window.status='';return true;" onMouseOut="Ht()">Reset</a></div></td>
  89. </tr>
  90. </table>
  91. </TD>
  92. </TR>
  93. </TABLE>
  94.  
  95. <INPUT type=hidden name="submitType" value="update">
  96.  
  97. </FORM>
  98. </CENTER>
  99. </BODY>
  100. </HTML>
  101.